<!DOCTYPE html>
<html>
<head>
    <title>报表生成结果查看</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!--bootstrap-->
    <link rel="stylesheet" href="/css/bootstrap.min.css">
    <link rel="stylesheet" href="/css/font-awesome.min.css">
    <!--jqgrid-->
    <link rel="stylesheet" href="/plugins/jqgrid/ui.jqgrid-bootstrap.css">
    <link rel="stylesheet" href="/plugins/ztree/css/metroStyle/metroStyle.css">
    <!--main-->
    <link rel="stylesheet" href="/css/main.css">
    <link rel="stylesheet" href="/css/iview.css">
    <link rel="stylesheet" href="/css/style.css">
    <!--treegrid-->
    <link rel="stylesheet" href="/plugins/treegrid/jquery.treegrid.css">
    <!--富文本-->
    <link rel="stylesheet" href='/plugins/froala_editor/css/froala_editor.min.css'/>

    <!--jquery-->
    <script src="/libs/jquery.min.js"></script>
    <!--layer-->
    <script src="/plugins/layer/layer.js"></script>
    <!--bootstrap-->
    <script src="/libs/bootstrap.min.js"></script>
    <!--vue-->
    <script src="/libs/vue.min.js"></script>
    <script src="/libs/iview.min.js"></script>
    <!--jqgrid-->
    <script src="/plugins/jqgrid/grid.locale-cn.js"></script>
    <script src="/plugins/jqgrid/jquery.jqGrid.min.js"></script>
    <!--ztree-->
    <script src="/plugins/ztree/jquery.ztree.all.min.js"></script>
    <!--treegrid-->
    <script src="/plugins/treegrid/jquery.treegrid.extension.js"></script>
    <script src="/plugins/treegrid/jquery.treegrid.min.js"></script>
    <script src="/plugins/treegrid/jquery.treegrid.bootstrap3.js"></script>
    <script src="/plugins/treegrid/tree.table.js"></script>

    <!--simplemde富文本-->
    <script src='/plugins/froala_editor/js/froala_editor.min.js'></script>
    <!--[if lt IE 9]>
    <script src="/plugins/froala_editor/js/froala_editor_ie8.min.js"></script>
    <![endif]-->
    <script src="/plugins/froala_editor/js/plugins/tables.min.js"></script>
    <script src="/plugins/froala_editor/js/plugins/lists.min.js"></script>
    <script src="/plugins/froala_editor/js/plugins/colors.min.js"></script>
    <script src="/plugins/froala_editor/js/plugins/media_manager.min.js"></script>
    <script src="/plugins/froala_editor/js/plugins/font_family.min.js"></script>
    <script src="/plugins/froala_editor/js/plugins/font_size.min.js"></script>
    <script src="/plugins/froala_editor/js/plugins/block_styles.min.js"></script>
    <script src="/plugins/froala_editor/js/plugins/video.min.js"></script>
    <script src="/plugins/froala_editor/js/langs/zh_cn.js"></script>

    <script src="/libs/jquery-extend.js"></script>
    <script src="/js/common.js"></script>
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <Row :gutter="16">
            <div class="search-group">
                <i-col span="4">
                    <i-input v-model="q.tableId" @on-enter="query" placeholder="名称"/>
                </i-col>
                <i-button @click="query">查询</i-button>
                <i-button @click="reloadSearch">重置</i-button>
            </div>
            <div class="buttons-group">
                <i-button type="info" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</i-button>
                <i-button type="warning" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</i-button>
                <i-button type="error" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</i-button>
            </div>
        </Row>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <Card v-show="!showList">
        <p slot="title">{{title}}</p>
        <i-form ref="formValidate" :model="tragetTable" :rules="ruleValidate" :label-width="80">
            <Form-item label="表名" prop="tableId">
                <i-input v-model="tragetTable.tableId" placeholder="表名"/>
            </Form-item>
            <Form-item label="数据日期YYYYMMDD" prop="dataDt">
                <i-input v-model="tragetTable.dataDt" placeholder="数据日期YYYYMMDD"/>
            </Form-item>
            <Form-item label="行号" prop="rowNo">
                <i-input v-model="tragetTable.rowNo" placeholder="行号"/>
            </Form-item>
            <Form-item label="列编号" prop="colSeqNo">
                <i-input v-model="tragetTable.colSeqNo" placeholder="列编号"/>
            </Form-item>
            <Form-item label="老数据" prop="oldData">
                <i-input v-model="tragetTable.oldData" placeholder="老数据"/>
            </Form-item>
            <Form-item label="新数据" prop="newData">
                <i-input v-model="tragetTable.newData" placeholder="新数据"/>
            </Form-item>
            <Form-item label="检查结果" prop="checkResult">
                <i-input v-model="tragetTable.checkResult" placeholder="检查结果"/>
            </Form-item>
            <Form-item label="更新时间" prop="updateTime">
                <i-input v-model="tragetTable.updateTime" placeholder="更新时间"/>
            </Form-item>
            <Form-item label="状态0-正常1-删除" prop="state">
                <i-input v-model="tragetTable.state" placeholder="状态0-正常1-删除"/>
            </Form-item>
            <Form-item>
                <i-button type="primary" @click="handleSubmit('formValidate')">提交</i-button>
                <i-button type="warning" @click="reload" style="margin-left: 8px"/>
                返回</i-button>
                <i-button type="ghost" @click="handleReset('formValidate')" style="margin-left: 8px">重置</i-button>
            </Form-item>
        </i-form>
    </Card>
</div>

<script src="/js/report/tragettable.js"></script>
</body>
</html>